{"openapi":"3.0.0","paths":{"/rag_query":{"post":{"tags":["rag_query"],"operationId":"post__rag_query","requestBody":{"type":"object","properties":{"Query":{"type":"string"},"required":["Query"]}},"responses":{"200":{"description":"Query processed successfully","content":{"application/json":{"schema":{"type":"object","properties":{"answer":{"type":"string","description":"Answer to the query"},"source_files":{"type":"array","description":"List of document file paths used as context.","items":{"type":"string"}}}}}}},"400":{"description":"Invalid query request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}}}}}}}}},"/upsert":{"post":{"tags":["upsert"],"operationId":"post__upsert","responses":{"200":{"description":"Document upserted successfully","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Success message indicating the document was upserted"},"path":{"type":"string","description":"Path to the upserted document"}}}}}},"400":{"description":"Invalid URL or missing/incorrect parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Detailed error message describing why the upsert failed"}}}}}}}}}},"servers":[{"url":"http://localhost:3000","description":"Public API server"},{"url":"http://localhost:3001","description":"Internal API server"}],"info":{"title":"Sample Helloworld App","version":"1.1.0","summary":"Some http calls","description":"Lets play with Godspeed","contact":{"name":"API Support","url":"http://www.helloworld.com/support","email":"support@helloworld.com"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"}},"components":{"schemas":{}}}